package com.tuling;

import com.tuling.annotation.MybatisMapperScan;
import com.tuling.annotation.ZhouyuMapperScan;
import com.tuling.mybaitis_spring.MapperBedifinitionRegister;
import com.tuling.mybaitis_spring.MybatisBeanDefinitionRegister;
import com.tuling.mybaitis_spring.service.UserService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @Type ConfigInfo.java
 * @Desc
 * @Author wzw
 * @Date 2024/8/9 14:09
 */
@ComponentScan("com.tuling")
@Configuration
@MybatisMapperScan("com.tuling.mybaitis_spring")
public class ConfigInfo {

	@Bean
	public UserService userService(){
		 return new UserService();
	}
}
